.top-nav {
  // margin-left: $sideBarWidth;
  width: 100%;
  min-width: 600px;
  height: 80px;
  display: flex;
  background-color: #304156;
  // position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  overflow: hidden;

  .log {
    width: 200px;
    min-width: 200px;
    padding: 0 20px;
    line-height: 56px;
    font-size: 24px;
    font-weight: bold;
    color: #f4f4f5;
  }


  .module-list-wrap {
    width: 100%;
    min-width: 360px;
    overflow-x: auto;
  }

  .leftIcon {
    width: 26px;
    min-width: 26px;
    text-align: center;
    color: aliceblue;
    line-height: 56px;
  }

  .leftIcon:hover {
    background: #303133;
    color: aliceblue;
  }

  .rightIcon {
    display: inline-block;
    width: 26px;
    min-width: 26px;
    text-align: center;
    color: aliceblue;
    line-height: 56px;
  }

  .rightIcon:hover {
    background: #303133;
    color: aliceblue;
  }

  .el-menu {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: none !important;
    background-color: #304156;

    .switch-button {
      display: inline-block;

      .el-menu-item {
        text-align: center;
        line-height: 40px;
        border: 1px solid transparent;
        // opacity: 0.9;
        margin: 10px 10px;
        padding: 10px 10px;
        cursor: pointer;
        font-size: 15px;
        border-radius: 10px;
        background: #fdfdfe;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 1px 1px 0px;
        transition: all 0.2s;

        &:hover {
          opacity: 1; 
          color: hsl(0, 10%, 100%);
          border: 1px solid transparent;
          background-color: #303133;
        }
      }
      
    }
  }

  .right-menu {
    height: 100%;
    text-align: right;
    margin-left: 20px;

    &:focus {
      outline: none;
    }

    .right-menu-item {
      display: inline-block;
      padding: 0 8px;
      height: 100%;
      font-size: 18px;
      color: #5a5e66;
      vertical-align: text-bottom;

      &.hover-effect {
        cursor: pointer;
        transition: background .3s;

        &:hover {
          background: rgba(0, 0, 0, .025)
        }
      }
    }

    .avatar-container {
      margin-right: 30px;

      .avatar-wrapper {
        margin-top: 5px;
        position: relative;

        .user-avatar {
          cursor: pointer;
          width: 40px;
          height: 40px;
          border-radius: 10px;
        }

        .el-icon-caret-bottom {
          cursor: pointer;
          position: absolute;
          right: -20px;
          top: 25px;
          font-size: 12px;
        }
      }
    }
  }
}
